<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="multi cursor, multi insertion, multiple cursors, rectangular selection"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Edit multiple points in CotEditor on Mac</title>
</head>

<body>

<h1>Edit multiple points in CotEditor on Mac</h1>

<p>In multi-cursor editing, the same text is entered at multiple points at once.</p>

<figure>
	<img class="bordered" srcset="../gfx/rectangularSelection@2x.png 2x" alt="Screenshot of the rectangular selection in an editor"/>
</figure>

<p>You can add your insertion points (cursors/selections) in the following ways:</p>
<ul>
	<li><p>To add an insertion point at a location, click or drag the point while pressing the <kbd>Command</kbd> key.</p></li>
	<li><p>To add insertion points at the same column in multiple continuous lines, drag the area while pressing the <kbd>Option</kbd> key (rectangular selection).</p></li>
	<li><p>To add an insertion point just above or below the current insertion point, press <kbd>Control</kbd>-<kbd>Shift</kbd>-<kbd>↑</kbd> or <kbd>Control</kbd>-<kbd>Shift</kbd>-<kbd>↓</kbd>.</p></li>
</ul>


<p>To remove one of the multiple insertion points:</p>
<ul>
	<li><p><kbd>Command</kbd>-click the insertion point to remove it.</p></li>
</ul>


<p>To end the multi-cursor editing mode:</p>
<ul>
	<li><p>Click or drag somewhere in the editor without modifier keys by setting a single insertion point at the location.</p></li>
	<li><p>Press the <kbd>Esc</kbd> key and all insertion points except the top one are discarded.</p></li>
</ul>

<p><em class="note">Note:</em> Multi-cursor editing currently doesn’t work with text entry that requires user selection after typing, such as Japanese. In such cases, multi-cursor editing ends automatically after you type, and the text is entered only at a single insertion point.</p>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="howto_rectangular_selection.html">Select rectangular area in CotEditor on Mac</a></li>
</ul>
</section>

</body>
</html>
